package com.graduate.twentyone.domain;


import lombok.ToString;

//菜表
@ToString
public class Food {

    private Integer fid;
    private String name;
    private String picture;
    private Double price;
    //    类型
    private String mold;
    //    内容
    private String des;
    //    状态
    private Integer status;
//上架为1
    private Integer undercarriage;

    public Food() {
    }

    public Food(Integer fid, String name, String picture, Double price, String mold, String des, Integer status, Integer undercarriage) {
        this.fid = fid;
        this.name = name;
        this.picture = picture;
        this.price = price;
        this.mold = mold;
        this.des = des;
        this.status = status;
        this.undercarriage = undercarriage;
    }

    public Integer getFid() {
        return fid;
    }

    public void setFid(Integer fid) {
        this.fid = fid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getMold() {
        return mold;
    }

    public void setMold(String mold) {
        this.mold = mold;
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getUndercarriage() {
        return undercarriage;
    }

    public void setUndercarriage(Integer undercarriage) {
        this.undercarriage = undercarriage;
    }
}
